﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvvmHelper;
using System.Windows;
using System.ComponentModel;

namespace WpfApplication1
{
    public class UCTVM: DependencyObject, INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged; //プロパティチェンジ用ハンド
        //#region JOBNAME

        //public String JOBNAME
        //{
        //    get { return _JOBNAME; }
        //    set
        //    {
        //        _JOBNAME = value;
        //        PropertyChanged.Raise(this, JOBNAMEName);
        //    }
        //}

        //private String _JOBNAME;
        //internal static readonly string JOBNAMEName = PropertyName<UCTVM>.Get(_ => _.JOBNAME);
        //#endregion

        #region Shop2

        public String Shop2
        {
            get { return _Shop2; }
            set
            {
                _Shop2 = value;
                PropertyChanged.Raise(this, Shop2Name);
            }
        }

        private String _Shop2;
        internal static readonly string Shop2Name = PropertyName<UCTVM>.Get(_ => _.Shop2);

        #endregion
        #region Input

        public String Input
        {
            get { return _Input; }
            set
            {
                _Input = value;
                PropertyChanged.Raise(this, InputName);
            }
        }

        private String _Input;
        internal static readonly string InputName = PropertyName<UCTVM>.Get(_ => _.Input);

        #endregion
	
    }
}
